package submodels

import (
	"github.com/pquerna/ffjson/ffjson"
	"go.mod/models"
)

type SportsNews struct {
	Tags[] string
	models.NewsModel
}

func(sn SportsNews) ToJSON() string{
	result,err:=ffjson.Marshal(sn)
	if err !=nil{
		return err.Error()
	}else{
		return string(result)
	}

}
